home *** CD-ROM | disk | FTP | other *** search
/ Developer CD Series 1996 April: Mac OS SDK / Dev.CD Apr 96 SDK / Dev.CD Apr 96 SDK1.toast / Development Kits (Disc 1) / OpenDoc Development Framework / ODFDev / ODF / OS / FWWindow / Include / FWWinPro.h < prev   
Encoding:
Text File  |  1995-11-08  |  1.9 KB  |  77 lines  |  [TEXT/MPS ]

  1. //========================================================================================
  2. //
  3. //    File:                FWWinPro.h
  4. //    Release Version:    $ 1.0d11 $
  5. //
  6. //    Copyright:    © 1995 by Apple Computer, Inc., all rights reserved.
  7. //
  8. //========================================================================================
  9.  
  10. #ifndef FWWINPRO_H
  11. #define FWWINPRO_H
  12.  
  13. #if FW_OPENDOC_VERSION >= FW_OPENDOC_DR2
  14.  
  15. // ----- Foundation Layer -----
  16.  
  17. #ifndef FWAUTODE_H
  18. #include "FWAutoDe.h"
  19. #endif
  20.  
  21. #ifndef FWRECT_H
  22. #include "FWRect.h"
  23. #endif
  24.  
  25. //========================================================================================
  26. //    Forward Declarations
  27. //========================================================================================
  28.  
  29. class FW_CLASS_ATTR ODFrame;
  30. class FW_CLASS_ATTR ODWindow;
  31.  
  32. //========================================================================================
  33. //    class FW_CWindowProperties
  34. //========================================================================================
  35. // Obtains window properties from the storage unit referred to in the frame's
  36. // kODPropWindowProperties.
  37.  
  38. class FW_CWindowProperties FW_AUTO_DESTRUCT_OBJECT
  39. {
  40. //----------------------------------------------------------------------------------------
  41. //    Constructor/Destructor
  42. //
  43. public:
  44.     FW_CWindowProperties(Environment* ev);
  45.     ~FW_CWindowProperties();
  46.  
  47.     FW_Boolean        ReadWindowProperties(Environment* ev, ODFrame* frame);
  48.  
  49. private:
  50.     void             PrivInitProperties(Environment* ev);
  51.     
  52. //----------------------------------------------------------------------------------------
  53. //    Data Members
  54. //
  55. public:
  56.     FW_Boolean            fHasWindowProperties;
  57.     
  58. #ifdef FW_BUILD_MAC
  59.     short                  fMacProcID;
  60.     FW_Boolean             fMacHasCloseBox;
  61.     long                   fMacRefCon;
  62.     Str255                 fMacTitle;
  63. #endif
  64.  
  65.     FW_CRect             fBoundsRect;
  66.     FW_Boolean             fIsResizable;
  67.     FW_Boolean             fWasVisible;
  68.     FW_Boolean             fIsFloating;
  69.     FW_Boolean             fIsRootWindow;
  70.     FW_Boolean             fShouldShowLinks;
  71.     ODFrame*              fSourceFrame;
  72. };
  73.  
  74. #endif
  75.  
  76. #endif
  77.